﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using LevelEditor.model.elements;

namespace LevelEditor.events
{
    public class PGameObjectChangedEvent : AbstractChangedEvent
    {
        #region Variables
        private AbstractPGameObject m_pGameObject;
        private int m_changedType;

        #endregion

        #region Constructeurs
        public PGameObjectChangedEvent(string eventMsg, AbstractPGameObject pGameObject, int changedType) : base(eventMsg)
        {
            m_pGameObject = pGameObject;
            m_changedType = changedType;
        }

        #endregion

        #region Getters && Setters
        public AbstractPGameObject pGameObject
        {
            get { return m_pGameObject; }
        }

        public int changedType
        {
            get { return m_changedType; }
        }

        #endregion
    }
}
